package com.sigmatrix.h5.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.sigmatrix.h5.feign.args.SequenceParam;
import com.sigmatrix.h5.feign.mode.SequenceResponse;

/**
 * 
 *@ClassName: SequenceClient
 *@Description: 生成序列号微服务
 *@author MH
 *@date 2017年11月14日 下午5:41:12
 */
@FeignClient(name="sigmatrix-sc-sequence-service")
public interface SequenceClient {
	
	/**
	 * 
	 *@Title: sequence
	 *@Description:获取序列号 
	 *@return SequenceResponse
	 *@author MH
	 *@date 2017年11月14日 下午5:41:23
	 *@param param
	 *@return
	 */
	@PostMapping("/app/code/getModuleSequence")
	SequenceResponse sequence(@RequestBody SequenceParam param);
	
}
